package com.mec.beans.y2012.coreservlet;

/**
 * Pojo for holding JDBC configuration info.
 * @author MEC
 * @since 2013-03-30
 */
public class DBInfoBean {
	private String vendor;
	private String description;
	private String driverClass;
	private String url;
	private String username;
	private String password;
	
	public DBInfoBean(){
		
	}
	public DBInfoBean(String vendor, String description,
			String driverClass, String url,
			String username, String password
			) {
		super();
		this.vendor = vendor;
		this.description = description;
		this.driverClass = driverClass;
		this.url = url;
		this.username = username;
		this.password = password;
	}
	public String getVendor() {
		return vendor;
	}
	public void setVendor(String vendor) {
		this.vendor = vendor;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getDriverClass() {
		return driverClass;
	}
	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	@Override
	public String toString() {
		return "DBInfoBean [vendor=" + vendor + ", description=" + description
				+ ", driverClass=" + driverClass + ", url=" + url
				// + ", username=" + username + ", password=" + password 
				+ "]";
	}

	
	
}
